import Vue from 'vue'
import App from './App.vue'
import router from './router'

// 引入全局css
import '@/style/index.scss'

// 引入 echarts
import * as echarts from 'echarts'
Vue.prototype.$echarts = echarts

Vue.config.productionTip = false

import "swiper/dist/css/swiper.css";
import VueAwesomeSwiper from "vue-awesome-swiper";
Vue.use(VueAwesomeSwiper);
//引入rem
// import './utils/rem'

// 引入饿了么
import ElementUI from 'element-ui'

import { Icon,addCollection,listIcons  } from '@iconify/vue2';
Vue.component('Icon',Icon)

const icons  = require('@oyeel/icons/icons.json')
addCollection(icons)
console.log('oyeel',listIcons())


import 'element-ui/lib/theme-chalk/index.css'

 Vue.use(ElementUI)

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
